package com.hzt.agprosaleplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_address")
public class Address {
    @TableId(type = IdType.AUTO)
    private Integer aid;
    private String uid;
    private String receiver_name;
    private String phoneNumber;
    private String province;
    private String city;
    private String area;  //地区范围:省-街道
    private String town;
    private String address;
    private Integer isDefault;  //标识1为默认地址
}
